<template>
	<header class="header-wrap">
		<div class="header">
			<div class="logo">
				<h1><a class="alogo" href="/">Like_Girl_5.1.0</a></h1>
			</div>
			<div class="word">
				<span class="wenan">喜欢花 喜欢浪漫 喜欢你.~</span>
			</div>
		</div>
	</header>

	<!-- 头像内容 -->
	<div class="bg-wrap">
		<div class="bg-img">
			<div class="central central-800">
				<div class="middle animated fadeInDown">
					<div class="img-male">
						<img
							src="https://q1.qlogo.cn/g?b=qq&nk=647159607&s=640"
							draggable="false"
						/>
						<span>Ki</span>
					</div>
					<div class="love-icon">
						<img
							src="/src/assets/images/like.svg"
							draggable="false"
						/>
					</div>
					<div class="img-female">
						<img
							src="https://q1.qlogo.cn/g?b=qq&nk=917640289&s=640"
							draggable="false"
						/>
						<span>Li</span>
					</div>
				</div>
			</div>
		</div>
	</div>
</template>

<script setup></script>

<style scoped>
.header-wrap {
	background: #fff;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.header-wrap {
	background: rgba(255, 255, 255, 0.9);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	height: 6vh;
}

.header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 2rem; /* 移除上下padding */
	height: 100%;
	line-height: 1; /* 重置行高 */
}

.logo h1 a {
	text-decoration: none;
	color: #333;
	font-size: 1.5rem;
}

.word .wenan {
	color: #666;
}

.bg-wrap {
	position: relative;
	height: 800px;
	background-image: url("/src/assets/images/bjt01.jpg");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	margin: 0;
	padding: 0;
}

.central {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem;
	width: 100%; /* 确保占满父容器 */
}

.middle {
	display: flex;
	justify-content: center;
	align-items: center;
	padding-top: 2rem;
}

.img-male,
.img-female {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.img-male img,
.img-female img {
	width: 200px;
	height: 200px;
	border-radius: 50%;
	border: 3px solid #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	margin-bottom: 10px; /* 图片和文字之间的间距 */
}

.img-male span,
.img-female span {
	font-size: 1.2rem;
	font-weight: bold;
}

.love-icon {
	margin: 0 2rem;
}

.love-icon img {
	animation: pulse 1.5s infinite; /* 添加脉冲动画 */
	width: 150px;
	height: 150px;
}

@keyframes pulse {
	0% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.1);
	}
	100% {
		transform: scale(1);
	}
}

.header .logo h1 a {
	text-decoration: none;
	color: #000 !important; /* 强制黑色 */
	font-size: 1.5rem;
}

.header .word .wenan {
	color: #000 !important; /* 强制黑色 */
}

.bg-img {
	position: relative;
	top: 250px; /* 向下移动50像素，可根据需要调整 */
}
</style>
<style>
body {
	margin: 0;
	padding: 0;
}
</style>
